package cn.bluemobi.platform.entity.member;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

public class Member {
	private Long id;// 主键id自增

	private String cellphone;// 手机号

	private String password;// 密码

	private String nickName;// 昵称

	private Integer sex;// 性别(0保密1男2女)

	private String headImg;// 头像

	private Integer status;// 状态(0正常1禁用)

	private String inviteCode;// 推荐码(微信登录唯一标识)

	private String parentInviteCode;// 上级推荐码

	private Integer isBusiness;// 是否商家(0否1是)

	private Integer isIdentification;// 是否认证（0否，1是）

	private Integer memberLevel;// 会员等级(0普通，1经销商，2分销商，3代理商）

	private BigDecimal waitMemberRebatePoints;// 用户待返利积分

	private BigDecimal consumePoints;// 消费积分

	private BigDecimal withdrawalsPoints;// 提现积分

	private BigDecimal waitBusinessRebatePoints;// 待返利积分

	private BigDecimal totalConsumeMoney;// 总消费金额

	private BigDecimal totalRebateConsumeMoney;// 可返利总消费金额

	private BigDecimal totalTeamConsumeMoney;// 团队总消费金额

	private Integer totalTeamNumber;// 团队总人数

	private BigDecimal teamTotalRebateConsumeMoney;// 团队总可返利总消费金额

	private Date registerDate;// 注册时间

	private Date lastLoginDate;// 最后登录时间

	private Map<String, Object> showItems;// 展示字段

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone == null ? null : cellphone.trim();
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password == null ? null : password.trim();
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName == null ? null : nickName.trim();
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg == null ? null : headImg.trim();
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getInviteCode() {
		return inviteCode;
	}

	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode == null ? null : inviteCode.trim();
	}

	public String getParentInviteCode() {
		return parentInviteCode;
	}

	public void setParentInviteCode(String parentInviteCode) {
		this.parentInviteCode = parentInviteCode == null ? null
				: parentInviteCode.trim();
	}

	public Integer getIsBusiness() {
		return isBusiness;
	}

	public void setIsBusiness(Integer isBusiness) {
		this.isBusiness = isBusiness;
	}

	public Integer getIsIdentification() {
		return isIdentification;
	}

	public void setIsIdentification(Integer isIdentification) {
		this.isIdentification = isIdentification;
	}

	public BigDecimal getWaitMemberRebatePoints() {
		return waitMemberRebatePoints;
	}

	public void setWaitMemberRebatePoints(BigDecimal waitMemberRebatePoints) {
		this.waitMemberRebatePoints = waitMemberRebatePoints;
	}

	public BigDecimal getConsumePoints() {
		return consumePoints;
	}

	public void setConsumePoints(BigDecimal consumePoints) {
		this.consumePoints = consumePoints;
	}

	public BigDecimal getWithdrawalsPoints() {
		return withdrawalsPoints;
	}

	public void setWithdrawalsPoints(BigDecimal withdrawalsPoints) {
		this.withdrawalsPoints = withdrawalsPoints;
	}

	public BigDecimal getWaitBusinessRebatePoints() {
		return waitBusinessRebatePoints;
	}

	public void setWaitBusinessRebatePoints(BigDecimal waitBusinessRebatePoints) {
		this.waitBusinessRebatePoints = waitBusinessRebatePoints;
	}

	public BigDecimal getTotalConsumeMoney() {
		return totalConsumeMoney;
	}

	public void setTotalConsumeMoney(BigDecimal totalConsumeMoney) {
		this.totalConsumeMoney = totalConsumeMoney;
	}

	public BigDecimal getTotalRebateConsumeMoney() {
		return totalRebateConsumeMoney;
	}

	public void setTotalRebateConsumeMoney(BigDecimal totalRebateConsumeMoney) {
		this.totalRebateConsumeMoney = totalRebateConsumeMoney;
	}

	public BigDecimal getTotalTeamConsumeMoney() {
		return totalTeamConsumeMoney;
	}

	public void setTotalTeamConsumeMoney(BigDecimal totalTeamConsumeMoney) {
		this.totalTeamConsumeMoney = totalTeamConsumeMoney;
	}

	public Integer getTotalTeamNumber() {
		return totalTeamNumber;
	}

	public void setTotalTeamNumber(Integer totalTeamNumber) {
		this.totalTeamNumber = totalTeamNumber;
	}

	public Date getRegisterDate() {
		return registerDate;
	}

	public void setRegisterDate(Date registerDate) {
		this.registerDate = registerDate;
	}

	public Date getLastLoginDate() {
		return lastLoginDate;
	}

	public void setLastLoginDate(Date lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}

	public Map<String, Object> getShowItems() {
		return showItems;
	}

	public void setShowItems(Map<String, Object> showItems) {
		this.showItems = showItems;
	}

	public BigDecimal getTeamTotalRebateConsumeMoney() {
		return teamTotalRebateConsumeMoney;
	}

	public void setTeamTotalRebateConsumeMoney(
			BigDecimal teamTotalRebateConsumeMoney) {
		this.teamTotalRebateConsumeMoney = teamTotalRebateConsumeMoney;
	}

	public Integer getMemberLevel() {
		return memberLevel;
	}

	public void setMemberLevel(Integer memberLevel) {
		this.memberLevel = memberLevel;
	}
}